package org.asset;

import oshi.SystemInfo;
import oshi.hardware.HardwareAbstractionLayer;
import oshi.software.os.OperatingSystem;

import org.asset.OshiUtil;

import static org.asset.OshiUtil.*;

public class Main {
    public static void main(String[] args) {

//        System.out.println("Initializing System...");
//        SystemInfo si = new SystemInfo();
//
//        HardwareAbstractionLayer hal = si.getHardware();
//        OperatingSystem os = si.getOperatingSystem();
//
//        System.out.println(os);
//
//        System.out.println("Checking computer system...");
//        printComputerSystem(hal.getComputerSystem());
//
//        System.out.println("Checking Processor...");
//        printProcessor(hal.getProcessor());
//
//        System.out.println("Checking Memory...");
//        printMemory(hal.getMemory());
//
//        System.out.println("Checking CPU...");
//        printCpu(hal.getProcessor());
//
//        System.out.println("Checking Processes...");
//        printProcesses(os, hal.getMemory());
//
//        System.out.println("Checking Sensors...");
//        printSensors(hal.getSensors());
//
//        System.out.println("Checking Power sources...");
//        printPowerSources(hal.getPowerSources());
//
//        System.out.println("Checking Disks...");
//        printDisks(hal.getDiskStores());
//
//        System.out.println("Checking File System...");
//        printFileSystem(os.getFileSystem());
//
//        System.out.println("Checking Network interfaces...");
//        printNetworkInterfaces(hal.getNetworkIFs());
//
//        System.out.println("Checking Network parameterss...");
//        printNetworkParameters(os.getNetworkParams());
//
//        // hardware: displays
//        System.out.println("Checking Displays...");
//        printDisplays(hal.getDisplays());

        // hardware: USB devices
        //System.out.println("Checking USB Devices...");
        //printUsbDevices(hal.getUsbDevices(true));
    }
}
